package cn.tedu.ivoswork.base.exception;

import cn.tedu.ivoswork.base.response.StatusCode;
import lombok.Getter;

//该类用于自定义业务层异常类
public class ServiceException extends RuntimeException {
    @Getter
    private StatusCode statusCode;

    public ServiceException(StatusCode statusCode){
        this.statusCode = statusCode;
    }


}
